home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / need / PersonGroupUtils.as < prev   
Text File  |  2011-09-19  |  7KB  |  226 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function()
  33.    {
  34.    }[┬º┬ºconstant(5)];
  35.    f.h[┬º┬ºconstant(4)] = function()
  36.    {
  37.    }[┬º┬ºconstant(6)] = function(obj)
  38.    {
  39.       obj[┬º┬ºconstant(7)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(7)];
  40.       obj[┬º┬ºconstant(9)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(9)];
  41.       obj[┬º┬ºconstant(10)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(10)];
  42.       obj[┬º┬ºconstant(11)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(11)];
  43.       obj[┬º┬ºconstant(12)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(12)];
  44.       obj[┬º┬ºconstant(13)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(13)];
  45.       obj[┬º┬ºconstant(14)] = obj[┬º┬ºconstant(11)];
  46.       obj[┬º┬ºconstant(15)] = obj[┬º┬ºconstant(12)];
  47.       obj[┬º┬ºconstant(16)] = obj[┬º┬ºconstant(8)][┬º┬ºconstant(16)];
  48.       obj[┬º┬ºconstant(17)] = 0;
  49.       obj[┬º┬ºconstant(18)] = new f.h[┬º┬ºconstant(20)]({┬º\┬º\┬ºconstant(19)┬º:obj,┬º\┬º\┬ºconstant(16)┬º:obj[┬º┬ºconstant(16)],┬º\┬º\┬ºconstant(11)┬º:obj[┬º┬ºconstant(11)],┬º\┬º\┬ºconstant(12)┬º:obj[┬º┬ºconstant(12)]});
  50.       obj[┬º┬ºconstant(21)] = new f[┬º┬ºconstant(22)][┬º┬ºconstant(23)](obj);
  51.       obj[┬º┬ºconstant(24)] = obj[┬º┬ºconstant(18)][┬º┬ºconstant(24)];
  52.       obj[┬º┬ºconstant(25)] = ┬º┬ºconstant(26);
  53.       var _loc3_ = new f[┬º┬ºconstant(27)][┬º┬ºconstant(28)]();
  54.       _loc3_[┬º┬ºconstant(29)](obj);
  55.       _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][┬º┬ºconstant(32)](obj[┬º┬ºconstant(7)]);
  56.       _global[┬º┬ºconstant(33)][┬º┬ºconstant(34)](obj);
  57.       if(!obj[┬º┬ºconstant(8)][┬º┬ºconstant(35)])
  58.       {
  59.          _global[┬º┬ºconstant(33)][┬º┬ºconstant(36)]();
  60.       }
  61.    };
  62.    f.h[┬º┬ºconstant(4)] = function()
  63.    {
  64.    }[┬º┬ºconstant(37)] = function(obj)
  65.    {
  66.       obj[┬º┬ºconstant(18)][┬º┬ºconstant(38)]();
  67.    };
  68.    f.h[┬º┬ºconstant(4)] = function()
  69.    {
  70.    }[┬º┬ºconstant(39)] = function(obj)
  71.    {
  72.       obj[┬º┬ºconstant(43)][┬º┬ºconstant(44)]({┬º\┬º\┬ºconstant(40)┬º:┬º┬ºconstant(41),┬º\┬º\┬ºconstant(42)┬º:obj});
  73.       var _loc5_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][┬º┬ºconstant(45)];
  74.       var _loc2_ = 0;
  75.       while(_loc2_ < _loc5_)
  76.       {
  77.          var _loc3_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(46) + _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][_loc2_]];
  78.          if(_loc3_ == obj)
  79.          {
  80.             _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][┬º┬ºconstant(47)](_loc2_,1);
  81.             break;
  82.          }
  83.          _loc2_ = _loc2_ + 1;
  84.       }
  85.       obj[┬º┬ºconstant(21)][┬º┬ºconstant(48)]();
  86.       obj[┬º┬ºconstant(49)][┬º┬ºconstant(50)] = false;
  87.       obj[┬º┬ºconstant(51)][┬º┬ºconstant(52)](obj);
  88.       obj[┬º┬ºconstant(18)][┬º┬ºconstant(53)]();
  89.       delete _global[┬º┬ºconstant(30)][┬º┬ºconstant(46) + obj[┬º┬ºconstant(7)]];
  90.    };
  91.    f.h[┬º┬ºconstant(4)] = function()
  92.    {
  93.    }[┬º┬ºconstant(54)] = function(x, y)
  94.    {
  95.       var _loc4_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][┬º┬ºconstant(45)];
  96.       var _loc3_ = 0;
  97.       while(_loc3_ < _loc4_)
  98.       {
  99.          var _loc2_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(46) + _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][_loc3_]];
  100.          if(f[┬º┬ºconstant(55)][┬º┬ºconstant(56)][┬º┬ºconstant(57)](x,y,_loc2_[┬º┬ºconstant(11)],_loc2_[┬º┬ºconstant(12)]) <= _loc2_[┬º┬ºconstant(24)] + 15)
  101.          {
  102.             return _loc2_;
  103.          }
  104.          _loc3_ = _loc3_ + 1;
  105.       }
  106.       return undefined;
  107.    };
  108.    f.h[┬º┬ºconstant(4)] = function()
  109.    {
  110.    }[┬º┬ºconstant(58)] = function(obj, doubleClick)
  111.    {
  112.       if(_global[┬º┬ºconstant(59)][┬º┬ºconstant(60)] == 0)
  113.       {
  114.          return undefined;
  115.       }
  116.       if(_global[┬º┬ºconstant(61)][┬º┬ºconstant(62)])
  117.       {
  118.          return undefined;
  119.       }
  120.       var _loc4_ = undefined;
  121.       if(doubleClick)
  122.       {
  123.          if(_global[┬º┬ºconstant(61)][┬º┬ºconstant(63)] == ┬º┬ºconstant(64))
  124.          {
  125.             if(obj[┬º┬ºconstant(65)][┬º┬ºconstant(66)] != undefined)
  126.             {
  127.                var _loc2_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(67)];
  128.                if(_loc2_ instanceof f[┬º┬ºconstant(68)][┬º┬ºconstant(69)])
  129.                {
  130.                   _loc4_ = true;
  131.                   f[┬º┬ºconstant(68)][┬º┬ºconstant(70)][┬º┬ºconstant(71)](f[┬º┬ºconstant(68)][┬º┬ºconstant(69)](_loc2_),obj[┬º┬ºconstant(65)]);
  132.                }
  133.                else if(_loc2_ instanceof f[┬º┬ºconstant(72)][┬º┬ºconstant(73)])
  134.                {
  135.                   _loc4_ = true;
  136.                   _loc2_[┬º┬ºconstant(74)](obj);
  137.                }
  138.             }
  139.          }
  140.       }
  141.    };
  142.    f.h[┬º┬ºconstant(4)] = function()
  143.    {
  144.    }[┬º┬ºconstant(75)] = function(pg)
  145.    {
  146.       var _loc4_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(76)][┬º┬ºconstant(45)];
  147.       var _loc2_ = 0;
  148.       while(_loc2_ < _loc4_)
  149.       {
  150.          var _loc3_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(46) + _global[┬º┬ºconstant(30)][┬º┬ºconstant(76)][_loc2_]];
  151.          if(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(77)](pg,_loc3_))
  152.          {
  153.             return _loc3_;
  154.          }
  155.          _loc2_ = _loc2_ + 1;
  156.       }
  157.       if(_global[┬º┬ºconstant(78)])
  158.       {
  159.          if(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(77)](pg,_global[┬º┬ºconstant(78)]))
  160.          {
  161.             return _global[┬º┬ºconstant(78)];
  162.          }
  163.       }
  164.       return null;
  165.    };
  166.    f.h[┬º┬ºconstant(4)] = function()
  167.    {
  168.    }[┬º┬ºconstant(77)] = function(pg, vh)
  169.    {
  170.       if(vh[┬º┬ºconstant(79)][┬º┬ºconstant(45)] > 0)
  171.       {
  172.          return false;
  173.       }
  174.       if(vh[┬º┬ºconstant(50)])
  175.       {
  176.          return false;
  177.       }
  178.       if(vh[┬º┬ºconstant(80)] == undefined)
  179.       {
  180.          return false;
  181.       }
  182.       if(vh[┬º┬ºconstant(81)] >= vh[┬º┬ºconstant(80)])
  183.       {
  184.          return false;
  185.       }
  186.       if(vh[┬º┬ºconstant(82)])
  187.       {
  188.          return false;
  189.       }
  190.       if(vh instanceof f[┬º┬ºconstant(68)][┬º┬ºconstant(69)])
  191.       {
  192.          if(vh[┬º┬ºconstant(63)] != ┬º┬ºconstant(83))
  193.          {
  194.             return false;
  195.          }
  196.       }
  197.       if(vh instanceof f[┬º┬ºconstant(72)][┬º┬ºconstant(73)])
  198.       {
  199.          if(vh[┬º┬ºconstant(84)] != undefined)
  200.          {
  201.             return false;
  202.          }
  203.       }
  204.       if(f[┬º┬ºconstant(55)][┬º┬ºconstant(56)][┬º┬ºconstant(57)](pg[┬º┬ºconstant(11)],pg[┬º┬ºconstant(12)],vh[┬º┬ºconstant(11)],vh[┬º┬ºconstant(12)]) > 300)
  205.       {
  206.          return false;
  207.       }
  208.       return true;
  209.    };
  210.    f.h[┬º┬ºconstant(4)] = function()
  211.    {
  212.    }[┬º┬ºconstant(85)] = function()
  213.    {
  214.       var _loc4_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][┬º┬ºconstant(45)];
  215.       var _loc2_ = 0;
  216.       while(_loc2_ < _loc4_)
  217.       {
  218.          var _loc3_ = _global[┬º┬ºconstant(30)][┬º┬ºconstant(46) + _global[┬º┬ºconstant(30)][┬º┬ºconstant(31)][_loc2_]];
  219.          _loc3_[┬º┬ºconstant(21)][┬º┬ºconstant(86)]();
  220.          _loc2_ = _loc2_ + 1;
  221.       }
  222.    };
  223.    ┬º┬ºpush(┬º┬ºconstant(87)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)],null,1));
  224. }
  225. §§pop();
  226.